package Thread;

/**
 * @className: CreateThread5
 * @author: 芃
 * @description: 继承Thread类，重写Run 匿名内部类
 * @date: 2024/1/14 13:09
 */
public class CreateThread5 {
    public static void main(String[] args) {
        Thread thread = new Thread(){
            @Override
            public void run() {
                System.out.println("hello");
            }
        };
        thread.start();
    }
}
